import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.scss'
import App from './App';

import { Watermark } from 'antd';

import store from './store/index'
import { Provider } from 'react-redux';

// 兼容包
import '@ant-design/v5-patch-for-react-19';

const root = ReactDOM.createRoot(
  document.getElementById('root')
);
root.render(
  <Watermark content="电商管理系统">
    {/* <React.StrictMode> */}
      <Provider store={store}>
        <App />
      </Provider>
    {/* </React.StrictMode> */}
  </Watermark>
);
